<?php include_once './application/views/sys_admin/common/header.php';  ?>
<!-- admin_main -->
<div class="admin_main">
	<!-- Admin_top end -->
	<?php include_once './application/views/sys_admin/common/system_left.php';  ?>
	<!-- Admin_Left End -->
	<div class="admin_right">
	<div class="admin_right_title"><strong>系统管理</strong> >> 数据库    >> <?php echo $table;?></div>
		<div class="admin_right_con">
			
			<table border="0" cellspacing="1" cellpadding="0" bgcolor="#cfe6f4">
			  <tr style="color:#0068b7;">
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>字段名称</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>字段类型</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>是否为空</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>是否主键</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>默认值</strong></td>
				<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>是否自动增长</strong></td>
			  </tr>
			  <?php $i =0;foreach($table_list as $key=>$table){ $i++;?>
			  <tr id="row_<?php echo $table['id'];?>">
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $table['Field'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $table['Type'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $table['Null'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $table['Key'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $table['Default'];?></td>
				<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $table['Extra'];?></td>
			  </tr>
			  <?php }?>
			
			</table>
		
			</div>
	</div>
<!-- Admin_Right End -->
</div>
<!-- admin_main end -->

</body>
</html>
